<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Docs For Class CssEventHandler</title>
	<link rel="stylesheet" type="text/css" href="../../media/style.css">
	<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
	<script src="media/a.js"></script>
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
	<td class="header-top-left"><img src="../../media/logo.png" border="0" alt="phpDocumentor " /></td>
    <td class="header-top-right">QueryPath<br /><div class="header-top-right-subpackage">CSSParser</div></td>
  </tr>
  <tr><td colspan="2" class="header-line"><img src="../../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td colspan="2" class="header-menu">
      
                        
                                                  		[ <a href="../../classtrees_QueryPath.html" class="menu">class tree: QueryPath</a> ]
		[ <a href="../../elementindex_QueryPath.html" class="menu">index: QueryPath</a> ]
            [ <a href="../../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td colspan="2" class="header-line"><img src="../../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="195" class="menu">
		<div class="package-title">QueryPath</div>
  <div class="package">
	<div id="todolist">
			<p><a href="../../todolist.html">Todo List</a></p>
	</div>
	</div>
      <b>Packages:</b><br />
  <div class="package">
              <a href="../../li_QueryPath.html">QueryPath</a><br />
              <a href="../../li_Examples.html">Examples</a><br />
              <a href="../../li_Tests.html">Tests</a><br />
      	</div>
      <br />
		<b>Tutorials/Manuals:</b><br />
  <div class="package">
					<strong>Package-level:</strong>
							<ul>
	<li type="square"><a href="../../QueryPath/tutorial_QueryPath.pkg.html">Using QueryPath</a>
</ul>

									                        <b>Files:</b><br />
        <div class="package">
				<span style="padding-left: 1em;"><a href="../../QueryPath/_src---QueryPath---QueryPath.php.html">QueryPath.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../QueryPath/_src---QueryPath---QueryPathExtension.php.html">QueryPathExtension.php</a></span><br />
	  </div>
  <div class="package">
	<strong>CSSParser</strong><br />			<span style="padding-left: 1em;"><a href="../../QueryPath/CSSParser/_src---QueryPath---CssEventHandler.php.html">CssEventHandler.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../QueryPath/CSSParser/_src---QueryPath---CssParser.php.html">CssParser.php</a></span><br />
	  </div>
  <div class="package">
	<strong>Extension</strong><br />			<span style="padding-left: 1em;"><a href="../../QueryPath/Extension/_src---QueryPath---Extension---QPDB.php.html">QPDB.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../QueryPath/Extension/_src---QueryPath---Extension---QPList.php.html">QPList.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../QueryPath/Extension/_src---QueryPath---Extension---QPTPL.php.html">QPTPL.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../QueryPath/Extension/_src---QueryPath---Extension---QPXML.php.html">QPXML.php</a></span><br />
	  </div>
  <div class="package">
	<strong>Internals</strong><br />			<span style="padding-left: 1em;"><a href="../../QueryPath/Internals/_src---QueryPath---QueryPathImpl.php.html">QueryPathImpl.php</a></span><br />
	  </div>
            <br />
            <b>Interfaces:</b><br />
        <div class="package">
	CSSParser<br />	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/CssEventHandler.html">CssEventHandler</a>    </span>	 <br />
	  </div>
  <div class="package">
	Extension<br />	    <span style="padding-left: 1em;">		<a href="../../QueryPath/Extension/TableAble.html">TableAble</a>    </span>	 <br />
	  </div>
  <div class="package">
		    		<a href="../../QueryPath/QueryPath.html">QueryPath</a>    	 <br />
	    		<a href="../../QueryPath/QueryPathExtension.html">QueryPathExtension</a>    	 <br />
	  </div>
                  <b>Classes:</b><br />
        <div class="package">
	CSSParser<br />	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/CssInputStream.html">CssInputStream</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/CSSParseException.html">CSSParseException</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/CssParser.html">CssParser</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/CssScanner.html">CssScanner</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/CssToken.html">CssToken</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/NamespaceMap.html">NamespaceMap</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/NegationCssEventHandler.html">NegationCssEventHandler</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/NotImplementedException.html">NotImplementedException</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/QueryPathCssEventHandler.html">QueryPathCssEventHandler</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/CSSParser/UniqueElementList.html">UniqueElementList</a>    </span>	 <br />
	  </div>
  <div class="package">
	Extension<br />	    <span style="padding-left: 1em;">		<a href="../../QueryPath/Extension/QPDB.html">QPDB</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/Extension/QPList.html">QPList</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/Extension/QPTableData.html">QPTableData</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/Extension/QPTableTextData.html">QPTableTextData</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/Extension/QPTPL.html">QPTPL</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/Extension/QPXML.html">QPXML</a>    </span>	 <br />
	  </div>
  <div class="package">
		    		<a href="../../QueryPath/QueryPathException.html">QueryPathException</a>    	 <br />
	    		<a href="../../QueryPath/QueryPathExtensionRegistry.html">QueryPathExtensionRegistry</a>    	 <br />
	  </div>
  <div class="package">
	Internals<br />	    <span style="padding-left: 1em;">		<a href="../../QueryPath/Internals/QueryPathImpl.html">QueryPathImpl</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../QueryPath/Internals/QueryPathIterator.html">QueryPathIterator</a>    </span>	 <br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Interface: CssEventHandler</h1>
Source Location: /src/QueryPath/CssParser.php<br /><br />

<h2 class="class-name">Interface CssEventHandler</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Interface Overview</div>
	<div class="nav-bar">
					<span class="disabled">Interface Overview</span>
						
													| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
														| <a href="#sec-const-summary">Constants Summary</a> | <a href="#sec-consts">Constants Detail</a>
						</div>
	<div class="info-box-body">
		<table width="100%" border="0">
		<tr><td valign="top" width="60%" class="class-overview">

        		<p align="center" class="short-description"><strong>An event handler for handling CSS 3 Selector parsing.
</strong></p>
<span class="description"><p>This provides a standard interface for CSS 3 Selector event handling. As the  parser parses a selector, it will fire events. Implementations of CssEventHandler  can then handle the events.</p><p>This library is inspired by the SAX2 API for parsing XML. Each component of a  selector fires an event, passing the necessary data on to the event handler.</p></span>
		<p class="notes">
			Located in <a class="field" href="_src---QueryPath---CssParser.php.html">/src/QueryPath/CssParser.php</a> [<span class="field">line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a31">31</a></span>]
		</p>

		
		<pre></pre>

		
		
		
		</td>

		
				<td valign="top" width="20%" class="class-overview">
		<p align="center" class="short-description"><strong><a href="#sec_methods">Methods</a></strong></p>
		<ul>
		  		  <li><a href="../../QueryPath/CSSParser/CssEventHandler.html#methodadjacent">adjacent</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssEventHandler.html#methodanotherSelector">anotherSelector</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssEventHandler.html#methodanyDescendant">anyDescendant</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssEventHandler.html#methodanyElement">anyElement</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssEventHandler.html#methodanyElementInNS">anyElementInNS</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssEventHandler.html#methodattribute">attribute</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssEventHandler.html#methodattributeNS">attributeNS</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssEventHandler.html#methoddirectDescendant">directDescendant</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssEventHandler.html#methodelement">element</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssEventHandler.html#methodelementClass">elementClass</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssEventHandler.html#methodelementID">elementID</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssEventHandler.html#methodelementNS">elementNS</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssEventHandler.html#methodpseudoClass">pseudoClass</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssEventHandler.html#methodpseudoElement">pseudoElement</a></li>
		  		  <li><a href="../../QueryPath/CSSParser/CssEventHandler.html#methodsibling">sibling</a></li>
		  		</ul>
		</td>
		
		</tr></table>
		<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
</div>



	<a name="sec-const-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Constant Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
									| <span class="disabled">Constants Summary</span> | <a href="#sec-consts">Constants Detail</a>
															| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
									</div>
		<div class="info-box-body">
			<div class="const-summary">
			<table border="0" cellspacing="0" cellpadding="0" class="var-summary">
							<div class="var-title">
					<tr>
					<td class="var-title"><a href="#constanyElement" title="details" class="const-name-summary">anyElement</a>&nbsp;&nbsp;</td>
					<td class="const-summary-description">The any-element operator (*).</td></tr>
				</div>
								<div class="var-title">
					<tr>
					<td class="var-title"><a href="#constbeginsWith" title="details" class="const-name-summary">beginsWith</a>&nbsp;&nbsp;</td>
					<td class="const-summary-description">The begins-with operator (^=).</td></tr>
				</div>
								<div class="var-title">
					<tr>
					<td class="var-title"><a href="#constcontainsInString" title="details" class="const-name-summary">containsInString</a>&nbsp;&nbsp;</td>
					<td class="const-summary-description">The contains-in-string operator (*=).</td></tr>
				</div>
								<div class="var-title">
					<tr>
					<td class="var-title"><a href="#constcontainsWithHyphen" title="details" class="const-name-summary">containsWithHyphen</a>&nbsp;&nbsp;</td>
					<td class="const-summary-description">The contains-with-hyphen operator (!=).</td></tr>
				</div>
								<div class="var-title">
					<tr>
					<td class="var-title"><a href="#constcontainsWithSpace" title="details" class="const-name-summary">containsWithSpace</a>&nbsp;&nbsp;</td>
					<td class="const-summary-description">The contains-with-space operator (~=).</td></tr>
				</div>
								<div class="var-title">
					<tr>
					<td class="var-title"><a href="#constendsWith" title="details" class="const-name-summary">endsWith</a>&nbsp;&nbsp;</td>
					<td class="const-summary-description">The ends-with operator ($=).</td></tr>
				</div>
								<div class="var-title">
					<tr>
					<td class="var-title"><a href="#constisExactly" title="details" class="const-name-summary">isExactly</a>&nbsp;&nbsp;</td>
					<td class="const-summary-description">The is-exactly (=) operator.</td></tr>
				</div>
								</table>
			</div>
			<br /><div class="top">[ <a href="#top">Top</a> ]</div>
		</div>
	</div>


	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
									    		    			    				| <a href="#sec-const-summary">Constants Summary</a> | <a href="#sec-consts">Constants Detail</a>
    			    					| <span class="disabled">Method Summary</span> | <a href="#sec-methods">Methods Detail</a>
		</div>
		<div class="info-box-body">
			<div class="method-summary">
				<table border="0" cellspacing="0" cellpadding="0" class="method-summary">
																																																																																																																																								<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#adjacent" title="details" class="method-name">adjacent</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Handle a adjacent combinator.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#anotherSelector" title="details" class="method-name">anotherSelector</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Handle an another-selector combinator.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#anyDescendant" title="details" class="method-name">anyDescendant</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Handle an any-descendant combinator.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#anyElement" title="details" class="method-name">anyElement</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Handle an any-element (*) operator.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#anyElementInNS" title="details" class="method-name">anyElementInNS</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Handle an any-element operator that is constrained to a namespace.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#attribute" title="details" class="method-name">attribute</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Handle an attribute selector.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#attributeNS" title="details" class="method-name">attributeNS</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Handle an attribute selector bound to a specific namespace.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#directDescendant" title="details" class="method-name">directDescendant</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Handle a direct descendant combinator.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#element" title="details" class="method-name">element</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Handle an element name.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#elementClass" title="details" class="method-name">elementClass</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Handle a CSS class selector.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#elementID" title="details" class="method-name">elementID</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">This event is fired when a CSS ID is encountered.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#elementNS" title="details" class="method-name">elementNS</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Handle a namespaced element name.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#pseudoClass" title="details" class="method-name">pseudoClass</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Handle a pseudo-class.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#pseudoElement" title="details" class="method-name">pseudoElement</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Handle a pseudo-element.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#sibling" title="details" class="method-name">sibling</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Handle a sibling combinator.</td></tr>
				</div>
												</table>
			</div>
			<br /><div class="top">[ <a href="#top">Top</a> ]</div>
		</div>
	</div>


	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
																					| <a href="#sec-const-summary">Constants Summary</a> | <a href="#sec-consts">Constants Detail</a>
														| <a href="#sec-method-summary">Method Summary</a> | <span class="disabled">Methods Detail</span>
					</div>
		<div class="info-box-body">
			<a name='method_detail'></a>

<a name="methodadjacent" id="adjacent"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">adjacent</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a143">143</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void adjacent(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Handle a adjacent combinator.
</strong></p>
<span class="description"><p>Example: +</p></span>
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodanotherSelector" id="anotherSelector"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">anotherSelector</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a148">148</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void anotherSelector(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Handle an another-selector combinator.
</strong></p>
<span class="description"><p>Example: ,</p></span>
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodanyDescendant" id="anyDescendant"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">anyDescendant</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a158">158</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void anyDescendant(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Handle an any-descendant combinator.
</strong></p>
<span class="description"><p>Example: ' '</p></span>
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodanyElement" id="anyElement"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">anyElement</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a75">75</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void anyElement(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Handle an any-element (*) operator.
</strong></p>
<span class="description"><p>Example: *</p></span>
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodanyElementInNS" id="anyElementInNS"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">anyElementInNS</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a82">82</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void anyElementInNS(
string
$ns&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Handle an any-element operator that is constrained to a namespace.
</strong></p>
<span class="description"><p>Example: ns|*</p></span>
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$ns:&nbsp;</span></td>
				<td>
				<span class="var-description"> The namespace identifier (not the URI).</span>			</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodattribute" id="attribute"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">attribute</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a102">102</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void attribute(
string
$name, [string
$value = NULL], [int
$operation = CssEventHandler::isExactly]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Handle an attribute selector.
</strong></p>
<span class="description"><p>Example: [name=attr]  Example: [name~=attr]</p></span>
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$name:&nbsp;</span></td>
				<td>
				<span class="var-description"> The attribute name.</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$value:&nbsp;</span></td>
				<td>
				<span class="var-description"> The value of the attribute, if given.</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">int</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$operation:&nbsp;</span></td>
				<td>
				<span class="var-description"> The operation to be used for matching. See <a href="../../QueryPath/CSSParser/CssEventHandler.html">CssEventHandler</a>   constants for a list of supported operations.</span>			</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodattributeNS" id="attributeNS"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">attributeNS</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a117">117</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void attributeNS(
string
$name, 
$ns, [string
$value = NULL], [int
$operation = CssEventHandler::isExactly], string
$namespace&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Handle an attribute selector bound to a specific namespace.
</strong></p>
<span class="description"><p>Example: [ns|name=attr]  Example: [ns|name~=attr]</p></span>
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$name:&nbsp;</span></td>
				<td>
				<span class="var-description"> The attribute name.</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$value:&nbsp;</span></td>
				<td>
				<span class="var-description"> The value of the attribute, if given.</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">int</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$operation:&nbsp;</span></td>
				<td>
				<span class="var-description"> The operation to be used for matching. See <a href="../../QueryPath/CSSParser/CssEventHandler.html">CssEventHandler</a>   constants for a list of supported operations.</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$namespace:&nbsp;</span></td>
				<td>
				<span class="var-description"> The namespace identifier (not the URI).</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type"></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$ns:&nbsp;</span></td>
				<td>
							</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methoddirectDescendant" id="directDescendant"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">directDescendant</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a138">138</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void directDescendant(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Handle a direct descendant combinator.
</strong></p>
<span class="description"><p>Example: &gt;</p></span>
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodelement" id="element"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">element</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a61">61</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void element(
string
$name&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Handle an element name.
</strong></p>
<span class="description"><p>Example: name</p></span>
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$name:&nbsp;</span></td>
				<td>
				<span class="var-description"> The name of the element.</span>			</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodelementClass" id="elementClass"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">elementClass</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a89">89</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void elementClass(
string
$name&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Handle a CSS class selector.
</strong></p>
<span class="description"><p>Example: .name</p></span>
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$name:&nbsp;</span></td>
				<td>
				<span class="var-description"> The name of the class.</span>			</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodelementID" id="elementID"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">elementID</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a54">54</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void elementID(
string
$id&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>This event is fired when a CSS ID is encountered.
</strong></p>
<span class="description"><p>An ID begins with an octothorp: #name.</p></span>
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$id:&nbsp;</span></td>
				<td>
				<span class="var-description"> The ID passed in.</span>			</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodelementNS" id="elementNS"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">elementNS</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a70">70</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void elementNS(
string
$name, [string
$namespace = NULL]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Handle a namespaced element name.
</strong></p>
<span class="description"><p>example: namespace|name</p></span>
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$name:&nbsp;</span></td>
				<td>
				<span class="var-description"> The tag name.</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$namespace:&nbsp;</span></td>
				<td>
				<span class="var-description"> The namespace identifier (Not the URI)</span>			</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodpseudoClass" id="pseudoClass"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">pseudoClass</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a126">126</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void pseudoClass(
string
$name, [string
$value = NULL]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Handle a pseudo-class.
</strong></p>
<span class="description"><p>Example: :name(value)</p></span>
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$name:&nbsp;</span></td>
				<td>
				<span class="var-description"> The pseudo-class name.</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$value:&nbsp;</span></td>
				<td>
				<span class="var-description"> The value, if one is found.</span>			</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodpseudoElement" id="pseudoElement"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">pseudoElement</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a133">133</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void pseudoElement(
string
$name&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Handle a pseudo-element.
</strong></p>
<span class="description"><p>Example: ::name</p></span>
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$name:&nbsp;</span></td>
				<td>
				<span class="var-description"> The pseudo-element name.</span>			</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodsibling" id="sibling"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">sibling</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a153">153</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void sibling(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Handle a sibling combinator.
</strong></p>
<span class="description"><p>Example: ~</p></span>
	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
										| <a href="#sec-const-summary">Constants Summary</a> | <span class="disabled">Constants Detail</span>
																		| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
									</div>
		<div class="info-box-body">
			<a name="constanyElement" id="anyElement"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-name">anyElement</span>
			 = <span class="var-default"> '*'</span>
			<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a45">45</a>]</span>
		</span>
	</div>

	<p align="center" class="short-description"><strong>The any-element operator (*).
</strong></p>
	

	<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="constbeginsWith" id="beginsWith"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-name">beginsWith</span>
			 = <span class="var-default"> 4</span>
			<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a41">41</a>]</span>
		</span>
	</div>

	<p align="center" class="short-description"><strong>The begins-with operator (^=).
</strong></p>
	

	<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="constcontainsInString" id="containsInString"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-name">containsInString</span>
			 = <span class="var-default"> 3</span>
			<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a39">39</a>]</span>
		</span>
	</div>

	<p align="center" class="short-description"><strong>The contains-in-string operator (*=).
</strong></p>
	

	<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="constcontainsWithHyphen" id="containsWithHyphen"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-name">containsWithHyphen</span>
			 = <span class="var-default"> 2</span>
			<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a37">37</a>]</span>
		</span>
	</div>

	<p align="center" class="short-description"><strong>The contains-with-hyphen operator (!=).
</strong></p>
	

	<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="constcontainsWithSpace" id="containsWithSpace"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-name">containsWithSpace</span>
			 = <span class="var-default"> 1</span>
			<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a35">35</a>]</span>
		</span>
	</div>

	<p align="center" class="short-description"><strong>The contains-with-space operator (~=).
</strong></p>
	

	<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="constendsWith" id="endsWith"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-name">endsWith</span>
			 = <span class="var-default"> 5</span>
			<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a43">43</a>]</span>
		</span>
	</div>

	<p align="center" class="short-description"><strong>The ends-with operator ($=).
</strong></p>
	

	<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="constisExactly" id="isExactly"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-name">isExactly</span>
			 = <span class="var-default"> 0</span>
			<span class="smalllinenumber">[line <a href="../../__filesource/fsource_QueryPath_CSSParser_srcQueryPathCssParser.php.html#a33">33</a>]</span>
		</span>
	</div>

	<p align="center" class="short-description"><strong>The is-exactly (=) operator.
</strong></p>
	

	<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
		</div>
	</div>

        <div class="credit">
		    <hr class="separator" />
		    Documentation generated on Thu, 19 Mar 2009 18:01:08 -0500 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.2</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>